Total Complexity | 97 |
Dependencies | 9 |
Dependents | 6 |
Total lines | 500 |
Lines of code | 298 |
Logical lines of code | 223 |
Comment lines | 81 |
Methods | 10 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
update_order_item_attribute_stock() | 30 | 33 | 111 | |
update_order_attribute_stock() | 40 | 23 | 56 | |
add_stock_change_order_note() | 44 | 12 | 38 | |
update_order_reduced_stock_amounts() | 52 | 7 | 23 | |
merge_changes() | 54 | 7 | 22 | |
update_stock_quantity() | 55 | 4 | 20 | |
get_valid_order_line_item() | 65 | 5 | 9 | |
get_order_item_meta_attributes() | 64 | 3 | 9 | |
get_order_item_attributes() | 68 | 2 | 6 | |
get_effective_order_item_quantity() | 75 | 1 | 4 |